//
//  ContactPersonCell.h
//  HuaRun
//
//  Created by admin on 17/8/28.
//  Copyright © 2017年 Sunny. All rights reserved.
//  联系人首页 列表cell

#import "BaseInsetTableViewCell.h"

@class Contact_ListModel;
@class ContactPersonModel;


@interface ContactPersonCell : BaseInsetTableViewCell
@property(nonatomic, strong) Contact_ListModel * personModel;

@property(nonatomic, strong) ContactPersonModel * contactPersonModel;

//电话
@property (nonatomic, strong) UIButton * phoneBtn;
//email
@property (nonatomic, strong) UIButton * emailBtn;


@property (nonatomic, copy) void (^callPhoneBlock) (NSString * phoneNum);
@property (nonatomic, copy) void (^sendEmailBlock) (NSString * emailStr);

//后台会返回四个字段，direct、hkMobile、chinaMobile和general；按照这个顺序判断取打哪个电话
//得到最优先的电话号
- (NSString *)getHighLeverTelephoneNum;

- (NSString *)getHighLeverEmailStr;

@end
